package com.naeeiot.calc.bean;

/**
 * 计算节点
 */
public class PfcalcNode {
    Long id;        // ID 唯一 输入
    Double u;        // u 节点电压值	 输出
    Double a;        // a 节点相角 输出
    Double inj_p;        // 节点注入有功 输入

    @Override
    public String toString() {
        return "PfcalcNode{" +
                "id=" + id +
                ", u=" + u +
                ", a=" + a +
                ", inj_p=" + inj_p +
                ", inj_q=" + inj_q +
                ", gen_p=" + gen_p +
                ", gen_q=" + gen_q +
                ", load_p=" + load_p +
                ", load_q=" + load_q +
                ", cp_cnt=" + cp_cnt +
                ", cp_q=" + cp_q +
                ", seg_cnt=" + seg_cnt +
                ", inj_cnt=" + inj_cnt +
                ", iisl=" + iisl +
                ", itype=" + itype +
                ", iopen=" + iopen +
                '}';
    }

    Double inj_q;        // 节点注入有功 输入
    Double gen_p;        // 节点发电有功 输入
    Double gen_q;        // 节点发电无功 输入
    Double load_p;        // 节点负荷有功 输入
    Double load_q;        // 节点负荷无功 输入
    Integer cp_cnt;        // 节点电容器数目 输入
    Double cp_q;        // 节点电容器无功 输入
    Integer seg_cnt;        // no use
    Integer inj_cnt;        // no use
    Integer iisl;        // no use
    Integer itype;        // no use
    Integer iopen;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Double getU() {
        return u;
    }

    public void setU(Double u) {
        this.u = u;
    }

    public Double getA() {
        return a;
    }

    public void setA(Double a) {
        this.a = a;
    }

    public Double getInj_p() {
        return inj_p;
    }

    public void setInj_p(Double inj_p) {
        this.inj_p = inj_p;
    }

    public Double getInj_q() {
        return inj_q;
    }

    public void setInj_q(Double inj_q) {
        this.inj_q = inj_q;
    }

    public Double getGen_p() {
        return gen_p;
    }

    public void setGen_p(Double gen_p) {
        this.gen_p = gen_p;
    }

    public Double getGen_q() {
        return gen_q;
    }

    public void setGen_q(Double gen_q) {
        this.gen_q = gen_q;
    }

    public Double getLoad_p() {
        return load_p;
    }

    public void setLoad_p(Double load_p) {
        this.load_p = load_p;
    }

    public Double getLoad_q() {
        return load_q;
    }

    public void setLoad_q(Double load_q) {
        this.load_q = load_q;
    }

    public Integer getCp_cnt() {
        return cp_cnt;
    }

    public void setCp_cnt(Integer cp_cnt) {
        this.cp_cnt = cp_cnt;
    }

    public Double getCp_q() {
        return cp_q;
    }

    public void setCp_q(Double cp_q) {
        this.cp_q = cp_q;
    }

    public Integer getSeg_cnt() {
        return seg_cnt;
    }

    public void setSeg_cnt(Integer seg_cnt) {
        this.seg_cnt = seg_cnt;
    }

    public Integer getInj_cnt() {
        return inj_cnt;
    }

    public void setInj_cnt(Integer inj_cnt) {
        this.inj_cnt = inj_cnt;
    }

    public Integer getIisl() {
        return iisl;
    }

    public void setIisl(Integer iisl) {
        this.iisl = iisl;
    }

    public Integer getItype() {
        return itype;
    }

    public void setItype(Integer itype) {
        this.itype = itype;
    }

    public Integer getIopen() {
        return iopen;
    }

    public void setIopen(Integer iopen) {
        this.iopen = iopen;
    }
}
